<#if (patientList?size>0) >
<table cellpadding="3" cellspacing="1" class="table table-bordered table-hover" id="list-table">
    <tbody>
        <#list  patientList as patient>
        <tr style="padding: 10px 0px">

            <td align="center" valign="top" nowrap="nowrap">
                <#if (patient.patientName)??>
                    ${patient.patientName}
                </#if>
            </td>

            <td align="center" valign="top" nowrap="nowrap">
                <#if (patient.sex)??>
                    ${patient.sex}
                </#if>
            </td>

            <td>
                <button type="button" class="btn btn-primary btn-sm" style="margin-left: 15px" onclick="onPatientSelect(${(patient.patientid)?c},'${patient.patientName}')">
                    选择
                </button>
            </td>
        </tr>
        </#list>
    </tbody>
</table>
<#else >
<label>没有查询到相关就诊人信息</label>
</#if>